SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 57077: Joining an information map table using the SAS® Information Maps LIBNAME Engine might return incorrect results

DetailsHotfixAboutRate It

Joining an information map table using the SAS Information Map LIBNAME Engine with another data source might return incorrect results. This problem can occur when you use PROC SQL in Base SAS® or the Query Builder in SAS® Enterprise Guide®.

These factors might cause the code to create incorrect results:

  • The SQL query pattern is used. (See below for examples.)
  • The estimated size of the information map library table is greater in size than the estimated size of the joining table.
  • The information map library table is joined using equijoin, or one or more columns from the information map library table are queried from a correlated subquery and the queried columns are used outside of the scope of the correlated subquery.
  • The criteria for joining is a character column.

Examples of query patterns:

select * from A inner join B on A.C1 = B.C2
or
select * from A join B on A.C1 = B.C2
or
select * from A, B where A.C1 = B.C2
  where
  A or B is an information map table
  C1 and C2 are SAS character values

Examples of correlated subqueries:

 select * from A where
    ... (select * from B where A.C1 = B.C2)
  where
  B is an information map table
  C1 is a SAS character value

When these factors are part of the generated PROC SQL, the final result might contain an incorrect value.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemBase SASz/OS 64-bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Ultimate 32 bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Ultimate x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows Vista9.3_M29.3 TS1M2
Windows Vista for x649.3_M29.3 TS1M2
64-bit Enabled AIX9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8 Enterprise x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8 Pro 32-bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8 Pro x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8.1 Pro9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8.1 Enterprise x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2003 Datacenter Edition9.3_M29.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.3_M29.3 TS1M2
Microsoft® Windows® for x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Enterprise 32 bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Enterprise x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Home Premium 32 bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Home Premium x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Professional 32 bit9.3_M29.4_M49.3 TS1M29.4 TS1M4
Windows 7 Professional x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows XP Professional9.3_M29.3 TS1M2
z/OS9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2003 Standard Edition9.3_M29.3 TS1M2
Microsoft Windows Server 2003 for x649.3_M29.3 TS1M2
Microsoft Windows Server 20089.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2008 R29.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2008 for x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2012 Datacenter9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2012 R2 Std9.3_M29.4_M49.3 TS1M29.4 TS1M4
Microsoft Windows Server 2012 Std9.3_M29.4_M49.3 TS1M29.4 TS1M4
64-bit Enabled HP-UX9.3_M29.4_M49.3 TS1M29.4 TS1M4
64-bit Enabled Solaris9.3_M29.4_M49.3 TS1M29.4 TS1M4
HP-UX IPF9.3_M29.4_M49.3 TS1M29.4 TS1M4
Linux9.3_M29.4_M49.3 TS1M29.4 TS1M4
Linux for x649.3_M29.4_M49.3 TS1M29.4 TS1M4
Solaris for x649.3_M29.4_M49.3 TS1M29.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.